#ifndef TABLEMODEL1_H
#define TABLEMODEL1_H

#include <QtGui>
#include <QtSql>

class TabModel1: public QSqlTableModel
{
Q_OBJECT

public:
explicit TabModel1(QObject *parent = 0,
                   QSqlDatabase db = QSqlDatabase());
~TabModel1();
Qt::ItemFlags flags(const QModelIndex &index) const;
QVariant data(const QModelIndex &item, int role) const;

private:

};

#endif // TABLEMODEL1_H
